find_package(PkgConfig REQUIRED)
pkg_check_modules(CONF2 REQUIRED kysdk-conf2)
include_directories(${CONF2_INCLUDE_DIRS})

add_executable(kyconf2-test kyconf2-test.c)
target_link_libraries(kyconf2-test ${CONF2_LIBRARIES})

install(TARGETS kyconf2-test
        DESTINATION /usr/bin)